package com.aabte.design2.behavioral.command;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/3
 */
public class UndoCommand extends AbstractCommand {
    public UndoCommand(Application app, Editor editor) {
        super(app, editor);
    }

    @Override
    public boolean execute() {
        getApp().undo();
        return false;
    }
}
